package cn.zswltech.gruul.common.exception;

/**
 * @author Jim
 * @version 1.0.0
 * @descripition:
 * @date 2024/3/15 11:23
 */
public enum CommonErrorEnum implements BaseErrorEnum{

    SYSTEM_CODE_MISS(7001,"没有系统编号"),
    DB_OPERATION_ERROR(7002,"数据库操作异常"),
    ;
    private Integer errCode;
    private String errMsg;

    @Override
    public Integer getErrCode() {
        return errCode;
    }

    @Override
    public String getErrMsg() {
        return errMsg;
    }

     CommonErrorEnum(Integer errCode, String errMsg) {
        this.errCode = errCode;
        this.errMsg = errMsg;
    }
}
